package com.youhome.service.impl;


import com.youhome.mapper.CityDataMapper;
import com.youhome.model.CityData;
import com.youhome.service.CityDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by chen365 on 2017/9/11.
 */
@Service
public class CityDataServiceImpl implements CityDataService {
    @Autowired
    private CityDataMapper cityDataMapper;

    @Override
    public CityData selectByZipcode(String zipcode) throws Exception {
        return cityDataMapper.selectByZipcode(zipcode);
    }
}
